package com.njxxted.activiti.modules.process.extend.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.njxxted.activiti.modules.base.entity.BaseReqEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 描述：流程抄送表 Entity
 * <p>
 * 作者：HuTongFu
 * 邮箱：hu_tongfu@163.com
 * 时间：2019-08-19 10:07:17
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class ExtendActCopyEntity extends BaseReqEntity {

    private static final long serialVersionUID = 3872671946599383093L;
    //主键id
    private String id;

    //流程实例id
    private String instanceId;
    //节点id
    private String taskId;
    //抄送人员id
    private String userId;
    //添加时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date addDate;
    //是否已读
    private String isView;
}
